<?php
/**
 * @author Andrew Willmott <andrew.willmott@omni-fi.net>
 * @copyright Copyright (c) 2011, Andrew Willmott
 * @license http://www.opensource.org/licenses/mit-license.php MIT Licence
 * @version 1.0
 *
 * This page is a basic home page for your Bitcoin bank
 */
require('functions.inc.php');

//Check that the system has been set up
if (file_exists("passwords.inc.php")){
	//The system has been set up so we can continue
}
else {
	//The setup program has not yet been run so direct the user to it:
	header('setup.php');
	//Stop executing this page
	exit();
}

//At this point we know the system has been setup so we can welcome new users to the bank:
echo "</head>\n<body>\n\t<h1>Bitcoin Bank</h1>\n\t<p>Welcome to this Bitcoin bank.  Click";
echo "<a href='login.php'>here to login</a> or <a href='signup.php'>here to signup</a>.</p>\n";



?>